package top.jiachunlei.factory.lesson1;

/**
 * 简单工厂模式
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/12/1 19:33
 */
public class Client1
{
    public static void main(String[] args)
    {
        Operator<Integer> operator = OperatorFactory.createOperator("*");
        System.out.println(operator.getResult(1, 2, 3, 4, 5));
    }
}
